﻿<%@ Page Language="C#" MasterPageFile="~/Administrator/MasterPage.master" AutoEventWireup="true" CodeFile="doanhnghiep.aspx.cs" Inherits="Administrator_doanhnghiep"%>

<%@ Register Assembly="ASPnetPagerV2_8" Namespace="ASPnetControls" TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div id="menu_left">
        <li><a href="doanhnghiep_register.aspx">Đăng ký thông tin doanh nghiệp</a></li>
        <li><a href="doanhnghiep_modify.aspx">Đổi thông tin doanh nghiệp</a></li>
        <li><a href="#">Đổi mật khẩu</a></li>
        <li><a href="#">Đăng sản phẩm</a></li>
</div>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
<div>
<h1 style="font-family:Arial;font-size:large;color:Blue">Danh sách các doanh nghiệp tham gia Let's Deal</h1>
    Tên doanh nghiệp<span><asp:TextBox ID="txt_tendoanhnghiep" runat="server"></asp:TextBox></span>
        <asp:Button ID="bt_timkiem" runat="server" Text="Tìm" 
        onclick="bt_timkiem_Click" />
    <asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound">
    <HeaderTemplate>
    <font size="-1">
    <table style="border:1px solid black" cellpadding="0" cellspacing="0" width="100%">
    <tr>
        <td style="background-color:Silver;border:1px solid black;width:5%;text-align:center">
           STT
        </td>
        <td style="background-color:Silver;border:1px solid black;width:15%;text-align:center">
            Mã doanh nghiệp
        </td>
        <td style="background-color:Silver;border:1px solid black;width:30%;text-align:center">
            Tên doanh nghiệp
        </td>
        <td style="background-color:Silver;border:1px solid black;width:20%;text-align:center">
            Địa chỉ
        </td>
        <td style="background-color:Silver;border:1px solid black;width:13%;text-align:center">
            Sđt
        </td>
        <td style="background-color:Silver;border:1px solid black;width:2%;text-align:center">
            Website
        </td>
        <td style="background-color:Silver;border:1px solid black;width:2%;text-align:center">
            
        </td>
        <td style="background-color:Silver;border:1px solid black;width:2%;text-align:center">
            
        </td>
    </tr>
    
    </HeaderTemplate>
    <ItemTemplate>
    <tr>
        <td style="border:1px solid black">
            <asp:Literal ID="lit_stt" runat="server"></asp:Literal>
        </td>
        <td style="border:1px solid black">
            <asp:Literal ID="lit_madn" runat="server"></asp:Literal>
        </td>
        <td style="border:1px solid black">
            <asp:HyperLink ID="hyp_tendn" runat="server"><%#Eval("TenDoanhNghiep")%></asp:HyperLink>
        </td>
        <td style="border:1px solid black">
            <asp:Literal ID="lit_diachi" runat="server"></asp:Literal>
        </td>
        <td style="border:1px solid black">
            <asp:Literal ID="lit_sdt" runat="server"></asp:Literal>
        </td>
        <td style="border:1px solid black">
            <asp:HyperLink ID="hyp_website" runat="server"></asp:HyperLink>
        </td>
        <td style="border:1px solid black">
            <asp:HyperLink ID="hpl_sua" runat="server" Width="24" Height="24"/>
        </td>
        <td style="border:1px solid black">
            <asp:HyperLink ID="hpl_xoa" runat="server" Width="24" Height="24"/>
        </td>
    </tr>
    </ItemTemplate>
    <FooterTemplate>
    </table>
    </font>
    </FooterTemplate>
    </asp:Repeater>
    <div style="width:100%;"> 
            <div style="float:left;">               
                <cc1:PagerV2_8 ID="pager" runat="server" />
            </div>
        </div>
</div>
<div class="vide"></div>
</asp:Content>

